package com.vsd.repository;


import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.rest.core.annotation.RestResource;

import com.demo.domain.Message;

@RestResource(exported = false)
public interface MessageRepository extends CrudRepository<Message, String> {
	Page<Message> findAll(Pageable p);
}	
